import { FlowerSprite } from "../../../../extend/flash/flower/FlowerSprite";
import { GlobalClass } from "../../../../com/mui/core/GlobalClass";
import { ImagesConst } from "../../resource/ImagesConst";
//class PrizeFallSprite
    
    export  class PrizeFallSprite extends FlowerSprite
    {
        constructor()
        {
            super();
            _intervalNum = 10;
            return;
        }

        protected /* override */ initFlowerAry(): void
        {
            _flowerAry = [GlobalClass.getBitmapData(ImagesConst.PrizeFallGoldBig), GlobalClass.getBitmapData(ImagesConst.PrizeFallGoldMin), GlobalClass.getBitmapData(ImagesConst.PrizeFallYBBig), GlobalClass.getBitmapData(ImagesConst.PrizeFallYBMin)];
            return;
        }

        protected /* override */ getFlower(): Object /* flash.display.BitmapData */
        {
            var loc1=random(0, (_flowerAry.length - 1));
            return _flowerAry[loc1];
        }
    }
